package common
import (
	"encoding/json"
)

func Object2JsonStr(obj interface{}) string {
	data, err := json.Marshal(obj);

	if err != nil {
		data = nil
		Logger(LOG_WARNING, err.Error())
	}

	return string(data)
}
